/*
 * @Autor: lingchen.liu
 * @Date: 2022-02-08 14:29:04
 * @LastEditors: lingchen.liu
 * @LastEditTime: 2022-02-09 14:41:19
 * @emial: lingchen.liu@bizfocus.cn
 */
import React, { FC, ReactElement } from 'react';
import './index.scss';

interface IHeader {
    openInput: () => void;
}
const Header: FC<IHeader> = ({ openInput }): ReactElement => {

    return (
        <div className='header'>
            <h2>待办事项</h2>
            <span
                className='icon'
                onClick={openInput}
            >&#43;</span>
        </div>
    )
}

export default Header



